class pet():
    def __init__(self,name,animal,color):
        self.name = name
        self.animal = animal
        self.color = color
        self.age = 2

    def get_pet(self):
        pet_info = str(self.name)+'是一只'+str(self.color)+'的'+str(self.animal)
        return pet_info

    def updata_pet_age(self,set_age):
        self.age = set_age

    def get_age(self):
        print('我的宠物今年'+str(self.age)+'岁了')

    def small_home(self):
        print('我的宠物使用小笼子')